#pragma once
#include "TCharSupport.h"
#include "EpilCodeBase.h"
#include "EpilExpressionCodeBase.h"


class EpilFieldInitializerCodeBase : public EpilCodeBase
{
public:
	EpilFieldInitializerCodeBase( const EpilLexLocation & location );
	virtual ~EpilFieldInitializerCodeBase();

	EpilExpressionCodeBase *			GetExpression() const							{ return m_expression; }
	void								SetExpression( EpilExpressionCodeBase * expr )	{ m_expression = expr; }

private:
	EpilExpressionCodeBase *			m_expression;
};


typedef list<EpilFieldInitializerCodeBase*>			EpilFieldInitializerCodeList;
typedef list<const EpilFieldInitializerCodeBase *>	EpilFieldInitializerCodeConstList;